package main

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"stock/server/cmd/http/handler"
)

func main() {

	engine := gin.Default()

	// websocket连接
	engine.GET("/ws", handler.WsHandler)

	if err := engine.Run(); err != nil {

		fmt.Println(err)
	}
}
